package com.ssm.crud.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.ssm.crud.bean.Department;
import com.ssm.crud.bean.DepartmentExample;
import com.ssm.crud.dao.DepartmentMapper;
import com.ssm.crud.service.DepartmentService;

public class DepartmentServiceImpl implements DepartmentService {
	
	@Autowired
	private DepartmentMapper departmentMapper;

	@Override
	public List<Department> selectByExample(DepartmentExample example) {
		List<Department> list = departmentMapper.selectByExample(null);
		return list;
	}
	
	
	
}
